package esb.chapter9.restaurant.routing.camel;

import org.apache.camel.Exchange;
import org.apache.camel.ExchangePattern;
import org.apache.camel.Processor;
import org.apache.servicemix.camel.JbiExchange;

public class InOutProcessor implements Processor {
	
	public void process(Exchange e) {
		JbiExchange exchange = (JbiExchange) e;
		exchange.setPattern(ExchangePattern.InOut);
    }

}
